package com.qk.management.mapper;

import com.qk.domain.user.UserDO;
import com.qk.dto.user.UserDTO;
import com.qk.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: chouh
 * @DateTime: 2025/10/7 21:04
 * @Description:
 */

@Mapper
public interface UserMapper {

    User selectByUsername(String username);

    List<User> queryAllUsers();

    void updateUser(User user);

    UserDO queryUserById(Integer id);

    void deleteUsers(List<Integer> ids);

    void insertUser(User user);

    List<UserDO> selectByPage(UserDTO userDTO);
}
